/*
 * @(#) DecisionPerformerDao
 *
 * <br> Copyright:  Copyright (c) 2017
 * <br> @author caijinhuang
 * <br> 2017-12-18 15:57:49
 */

package com.sunsharing.sharemeeting.dao.api;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.sunsharing.sharemeeting.entity.DecisionPerformer;

public interface DecisionPerformerDao {
    /**
     * 插入多条会议决议责任人信息
     * @param decisionPerformerList 会议责任人信息
     * @return
     */
    int insertDecisionPerformer(List<DecisionPerformer> decisionPerformerList);

    /**
     * 查询决议相关责任人
     * @param decisionId 决议Id
     * @return
     */
    List<DecisionPerformer> selectDecisionPerformerByDecisionId(@Param("decisionId") String decisionId);

    /**
     * 更新会议决议进度信息
     * @param decisionId 决议Id
     * @return
     */
    int updateDecisionPerformer(DecisionPerformer decisionPerformer);
}